evaluate the six trig functions